import {
    permissionListApi,crmRoleAddApi,crmRoleListApi,crmRoleEditApi,crmRoleSelOneApi,crmRoleSelectListApi
} from './api'
import {
    request, METHOD
} from '@/utils/request'

export function permission(formData = {}) {
    return request(permissionListApi, METHOD.POST, formData)
}
export function roleAdd(formData = {}){
    return request(crmRoleAddApi, METHOD.POST, formData)

}
export function roleList(formData = {}){
    return request(crmRoleListApi, METHOD.POST, formData)

}

export function roleEdit(formData = {}){
    return request(crmRoleEditApi, METHOD.POST, formData)

}
export function roleSelOne(formData = {}){
    return request(crmRoleSelOneApi, METHOD.POST, formData)

}
export function crmRoleSelectList(formData = {}){
    return request(crmRoleSelectListApi, METHOD.POST, formData)

}




